﻿#ifndef _OI_PLSCANNER_CAMERAVIEW_HPP_
#define _OI_PLSCANNER_CAMERAVIEW_HPP_

#include "PLScannerCore/OiPLScannerCore.hpp"
#include "Appl/OiOperViewer.hpp"

namespace Oi
{
    namespace PLScannerCore
    {
        class OI_PLSCANNER_CORE_API CameraViewer : public Appl::OperViewer
        {
            Q_OBJECT

        public:
            CameraViewer(QWidget * parent = nullptr);
            ~CameraViewer();

        public slots:
            void onRefresh(QImage image);

        private:
            OI_DECLARE_IMPL(CameraViewer);
            OI_DISABLE_COPY(CameraViewer);
        };

    }
}

#endif